﻿<%@ Page Language="C#" MasterPageFile="~/Adminstrator/Admin.master" AutoEventWireup="true"
    CodeBehind="QLThongTinHinhThucTrong.aspx.cs" Inherits="VietGap_DV.Adminstrator.QLThongTinHinhThucTrong"
    Title="Quản lý thông tin hình thức trồng" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphMain" runat="server">
    <div class="main-content-fix">
        <h3>
            Các hình thức trồng trọt</h3>
        <table style="width: 100%; margin-top: 20px; height: auto;">
            <tbody>
                <tr>
                    <td width="100%">
                        <span id="ctl00_ctMain_ctl00_lblThongbao" style="color: Red;"></span>
                    </td>
                </tr>
                <tr>
                    <td>
                        Tìm kiếm&nbsp; :&nbsp;
                        <input name="ctl00$ctMain$ctl00$txtSearchByID" type="text" id="ctl00_ctMain_ctl00_txtSearchByID"
                            style="width: 234px;" class="text">
                        &nbsp;&nbsp;<span id="ctl00_ctMain_ctl00_Label1">ID:</span><input name="ctl00$ctMain$ctl00$txtID"
                            type="text" id="ctl00_ctMain_ctl00_txtID" style="width: 50px;" class="text">
                        <a id="ctl00_ctMain_ctl00_btnSearchByID" href="javascript:__doPostBack('ctl00$ctMain$ctl00$btnSearchByID','')">
                            Tìm kiếm</a>| <a id="ctl00_ctMain_ctl00_btnShowAll" href="javascript:__doPostBack('ctl00$ctMain$ctl00$btnShowAll','')">
                                Hiện toàn bộ</a>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div>
                            <table class="Grid" cellspacing="0" rules="all" border="1" id="ctl00_ctMain_ctl00_grvHinhThucNuoi"
                                style="border-collapse: collapse;">
                                <tbody>
                                    <tr class="GridHeader">
                                        <th scope="col" style="width: 25px;">
                                            <input type="checkbox" style="width: 20px;" id="chkAll" onclick="javascript:checkAll(this,'grvHinhThucNuoi','chkDelete');">
                                        </th>
                                        <th scope="col">
                                            <a href="javascript:__doPostBack('ctl00$ctMain$ctl00$grvHinhThucNuoi','Sort$PK_iHinhthucnuoiID')">
                                                ID</a>
                                        </th>
                                        <th scope="col">
                                            <a href="javascript:__doPostBack('ctl00$ctMain$ctl00$grvHinhThucNuoi','Sort$sTenhinhthuc')">
                                                Tên</a>
                                        </th>
                                        <th scope="col">
                                            Sửa
                                        </th>
                                    </tr>
                                    <tr>
                                        <td>
                                            <input id="ctl00_ctMain_ctl00_grvHinhThucNuoi_ctl02_chkDelete" type="checkbox" name="ctl00$ctMain$ctl00$grvHinhThucNuoi$ctl02$chkDelete">
                                        </td>
                                        <td>
                                            6
                                        </td>
                                        <td>
                                            Nuôi sinh thái
                                        </td>
                                        <td>
                                            <a href="javascript:__doPostBack('ctl00$ctMain$ctl00$grvHinhThucNuoi','Select$0')">Sửa</a>
                                        </td>
                                    </tr>
                                    <tr class="GridAltItem">
                                        <td>
                                            <input id="ctl00_ctMain_ctl00_grvHinhThucNuoi_ctl03_chkDelete" type="checkbox" name="ctl00$ctMain$ctl00$grvHinhThucNuoi$ctl03$chkDelete">
                                        </td>
                                        <td>
                                            2
                                        </td>
                                        <td>
                                            Nuôi thâm canh
                                        </td>
                                        <td>
                                            <a href="javascript:__doPostBack('ctl00$ctMain$ctl00$grvHinhThucNuoi','Select$1')">Sửa</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <input id="ctl00_ctMain_ctl00_grvHinhThucNuoi_ctl04_chkDelete" type="checkbox" name="ctl00$ctMain$ctl00$grvHinhThucNuoi$ctl04$chkDelete">
                                        </td>
                                        <td>
                                            1
                                        </td>
                                        <td>
                                            Quảng canh
                                        </td>
                                        <td>
                                            <a href="javascript:__doPostBack('ctl00$ctMain$ctl00$grvHinhThucNuoi','Select$2')">Sửa</a>
                                        </td>
                                    </tr>
                                    <tr class="GridAltItem">
                                        <td>
                                            <input id="ctl00_ctMain_ctl00_grvHinhThucNuoi_ctl05_chkDelete" type="checkbox" name="ctl00$ctMain$ctl00$grvHinhThucNuoi$ctl05$chkDelete">
                                        </td>
                                        <td>
                                            5
                                        </td>
                                        <td>
                                            Quảng canh cải tiến
                                        </td>
                                        <td>
                                            <a href="javascript:__doPostBack('ctl00$ctMain$ctl00$grvHinhThucNuoi','Select$3')">Sửa</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <input id="ctl00_ctMain_ctl00_grvHinhThucNuoi_ctl06_chkDelete" type="checkbox" name="ctl00$ctMain$ctl00$grvHinhThucNuoi$ctl06$chkDelete">
                                        </td>
                                        <td>
                                            3
                                        </td>
                                        <td>
                                            Ruộng, vườn
                                        </td>
                                        <td>
                                            <a href="javascript:__doPostBack('ctl00$ctMain$ctl00$grvHinhThucNuoi','Select$4')">Sửa</a>
                                        </td>
                                    </tr>
                                    <tr class="GridAltItem">
                                        <td>
                                            <input id="ctl00_ctMain_ctl00_grvHinhThucNuoi_ctl07_chkDelete" type="checkbox" name="ctl00$ctMain$ctl00$grvHinhThucNuoi$ctl07$chkDelete">
                                        </td>
                                        <td>
                                            4
                                        </td>
                                        <td>
                                            Thông thường
                                        </td>
                                        <td>
                                            <a href="javascript:__doPostBack('ctl00$ctMain$ctl00$grvHinhThucNuoi','Select$5')">Sửa</a>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <a id="ctl00_ctMain_ctl00_lbtnAdd" href="javascript:__doPostBack('ctl00$ctMain$ctl00$lbtnAdd','')">
                            Thêm mới | </a><a onclick="return confirm('Chắc chắn xóa?');" id="ctl00_ctMain_ctl00_lbtnDelete"
                                href="javascript:__doPostBack('ctl00$ctMain$ctl00$lbtnDelete','')">Xóa đã chọn</a>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <div>
        <h3>
            Thêm hình thức trồng</h3>
        <fieldset>
            <legend>Thông tin hình thức trồng</legend>
            <div class="a">
                <div class="l">
                    <span id="ctl00_ctMain_ctl00_lblHinhThucNuoi">Tên</span></div>
                <div class="r">
                    <input name="ctl00$ctMain$ctl00$txtTen" type="text" id="ctl00_ctMain_ctl00_txtTen"
                        class="txtbox text">
                </div>
                <div class="rr">
                    <span id="ctl00_ctMain_ctl00_RequiredFieldValidator1" style="color: Red; margin̉-left: 10px;
                        display: none;">Không được để trống!</span>
                </div>
            </div>
            <div class="a">
                <div class="l">
                </div>
                <div class="r">
                    <input type="submit" name="ctl00$ctMain$ctl00$btnOK" value="Thêm" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ctl00$ctMain$ctl00$btnOK&quot;, &quot;&quot;, true, &quot;adding&quot;, &quot;&quot;, false, false))"
                        id="ctl00_ctMain_ctl00_btnOK" class="button" style="width: 90px;">
                    <input type="submit" name="ctl00$ctMain$ctl00$btnCancel" value="Huỷ" id="ctl00_ctMain_ctl00_btnCancel"
                        class="button" style="width: 90px;">
                </div>
                <div class="rr">
                </div>
            </div>
            <div class="a">
            </div>
        </fieldset>
    </div>
</asp:Content>
